<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li>
                <a href="#" role="button">
                    <img style="width:20px" src="<?php echo is_file('.' . $auth['avatar']) ? $auth['avatar'] : '/assets/images/firstavatar.png'; ?>" alt="">
                    <?php echo $auth['username']; ?>
                </a>

            </li>
            <li>
            <a href="index.php?action=logout" onclick="return confirm('是否确认退出账号？')" class="hidden-phone visible-tablet visible-desktop" role="button">Logout</a>            </li>
        </ul>
        <a class="brand" href="index.php"><span class="second">Admin</span></a>
    </div>
</div>